#!/usr/bin/python3.7
# -*- coding: utf-8 -*-
# @Time : 2019/2/27 0027
# @Email : jtyoui@qq.com
"""
配置数据库参数
"""
import os

DEBUG = True
SECRET_KEY = os.urandom(24)
HOSTNAME = '127.0.0.1'
PORT = '3306'
DATABASE = 'book'
USERNAME = 'root'
PASSWORD = '123456'
SQLALCHEMY_DATABASE_URI = F'mysql+pymysql://{USERNAME}:{PASSWORD}@{HOSTNAME}:{PORT}/{DATABASE}?charset=utf8'
SQLALCHEMY_TRACK_MODIFICATIONS = False
